package com.ch8.demo01;

/**
 * @author woldier
 * @version 1.0
 * @description 拒绝策略
 * @date 2023/5/16 21:53
 **/
@FunctionalInterface
public interface RejectPolicy <T> {
     void  rejected(BlockingQueue<T> queue,T task);
}
